/**
 * Created by radish608 on 17-3-1.
 */

public class Test20155117 {
    public static void main(String[] args) {
        int score = 88;
        char level;
        if (score >= 90) {
            level='A';
        }
        else if(score >= 80 && score < 90) {
            level ='B';
        }

        else if(score >=70 && score < 80) {
            level='C';
        }
        else if(score >=60 && score < 70) {
            level='D';
        }
        else {
            level='E';
        }
        System.out.printf("grade:%c%n", level);
    }
}
